package javaDesignModel.Proxy.dynamicProxy;

public class ProxyTest {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Service service = new UserServiceImpl();
		MyInvocatioHandler handler = new MyInvocatioHandler(service);
		Service serviceProxy = (Service) handler.getProxy();
		serviceProxy.add();
	}

}
